set ( 	kdcsubtitleeditorplugin_SRCS
		kdcsubtitlesconfigpage.cpp
		kdcsubtitlemodel.cpp
		kdcsubtitleeditorplugin.cpp
		kdcsubtitledelegate.cpp
		kdcsubtitlewidget.cpp
	)
	
kde4_add_kcfg_files( kdcsubtitleeditorplugin_SRCS kdcsubtitlesconfig.kcfgc )
kde4_add_plugin ( kdcsubtitleeditorplugin ${kdcsubtitleeditorplugin_SRCS} )
target_link_libraries ( kdcsubtitleeditorplugin kdclibgui kdclibcore ${KDE4_KDEUI_LIBS} )
install( TARGETS kdcsubtitleeditorplugin DESTINATION ${EXEC_INSTALL_PREFIX}/plugins )
install(FILES kdcsubtitlesconfig.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
install(FILES kdcsubtitleeditorplugin.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )